﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CSharp.Libs.Koc
{
    public class ResourceItem : PlayerItem
    {
        private Int64 _int64AmountX3600 = 0;
        private Int64 _int64Amount = 0;
        private Int64 _int64Unknown1 = 0;
        private Int64 _int64Unknown2 = 0;
        private Int64 _int64Usage = 0;



        public Int64 AmountX3600 { get { return _int64AmountX3600; } set { _int64AmountX3600 = value; _int64Amount = value / 3600; } }

        public Int64 Amount { get { return _int64Amount; } set { _int64Amount = value; _int64AmountX3600 = value * 3600; } }

        public Int64 Unknown1 { get { return _int64Unknown1; } set { _int64Unknown1 = value; } }

        public Int64 Unknown2 { get { return _int64Unknown2; } set { _int64Unknown2 = value; } }

        public Int64 Usage { get { return _int64Usage; } set { _int64Usage = value; } }
    }
}
